<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="../node_modules/DZL/dist/DZL.esm.js"></script>
  <title>Document</title>
  <script>
    const socket = new WebSocket('ws://localhost:8081');
    socket.addEventListener('message', (event) => {
      if (event.data === 'RELOAD') {
        window.location.reload();
      }
    });
  </script>
</head>

<body>
  <dzl-app></dzl-app>
  <script type="module">
    import './test/src/app.js'

    
  </script>
</body>

</html>